package com.mtk.launcher.activity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

import com.mtk.launcher.databinding.ActivityMainBinding;
import com.mtk.launcher.service.MyService;

public class MainActivity extends BaseActivity {

    private ActivityMainBinding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = ActivityMainBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
        initListener();
    }

    private void initListener(){
        binding.ivSetting.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intentSdCheck = new Intent(MainActivity.this, SettingActivity.class);
                intentSdCheck.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
                startActivity(intentSdCheck);            }
        });
    }


}